﻿<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../helpproject.xsl" ?>
<topic template="Default" lasteditedby="Geert" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../helpproject.xsd">
  <title translate="true">Using the project templates</title>
  <keywords>
    <keyword translate="true">Project templates</keyword>
    <keyword translate="true">Templates</keyword>
  </keywords>
  <body>
    <header>
      <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Using the project templates</text></para>
    </header>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">There are several project templates available for WPF, Silverlight and Windows Phone 7. The easiest way is to follow these steps.</text></para>
    <para styleclass="Notes"><text styleclass="Notes" translate="true">To use the templates, simply install the </text><link displaytype="text" defaultstyle="true" type="topiclink" href="SDP_Setup_package" styleclass="Notes" translate="true">Setup package</link></para>
    <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Installing the project templates</text></para>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">There are 2 ways of installing the project templates:</text></para>
    <list id="3" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="font-family:Arial; font-size:10pt; color:#000000;">
      <li styleclass="Normal"><text styleclass="Normal" translate="true">Templates via Visual Studio extension (recommended)</text></li>
      <li styleclass="Normal"><text styleclass="Normal" translate="true">Install manually</text></li>
    </list>
    <list id="4" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="text-indent:0px; margin-right:0px; margin-left:15px; tabstops:none; font-family:Arial; font-size:10pt; color:#000000;">
      <li styleclass="Normal" style="text-indent:0px; margin-right:0px; margin-left:15px; tabstops:none;"><text styleclass="Normal" translate="true">Copy the project templates to %MyDocuments%\Visual Studio 2xxx\Templates\ProjectTemplates\Visual C#\</text></li>
      <li styleclass="Normal" style="text-indent:0px; margin-right:0px; margin-left:15px; tabstops:none;"><text styleclass="Normal" translate="true">You can now create new projects using the new templates. If the templates are not visible, try using at least the .NET framework 3.5 because this is required for the templates to show up.</text></li>
    </list>
    <para styleclass="Normal"><text styleclass="Normal" translate="true">Note: when you add a Catel (WPF or Silverlight) package to *any* project, the project templates will automatically be installed </text></para>
    <para styleclass="Heading1"><text styleclass="Heading1" translate="true">Using the project templates</text></para>
    <list id="5" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="font-family:Arial; font-size:10pt; color:#000000;">
      <li styleclass="Normal"><text styleclass="Normal" translate="true">Create a new project. Make sure that at least .NET Framework 3.5 is selected as target framework. The templates can be found under the Catel folder as shown in the image below:</text></li>
    </list>
    <para styleclass="Normal"><image src="projecttemplate_wpf.png" scale="100.00%" styleclass="Image Caption"></image></para>
    <list id="5" type="ol" listtype="decimal" formatstring="&#37;&#48;&#58;&#115;&#46;" format-charset="DEFAULT_CHARSET" levelreset="true" legalstyle="false" startfrom="1" styleclass="Normal" style="font-family:Arial; font-size:10pt; color:#000000;">
      <li styleclass="Normal"><text styleclass="Normal" translate="true">As soon as the project is created, the only thing left to do is add references to the Catel libraries. You can either do this manually or use </text><link displaytype="text" defaultstyle="true" type="weblink" href="http://www.nuget.org" target="_blank" styleclass="Normal" translate="true">NuGet</link><text styleclass="Normal" translate="true">.</text></li>
    </list>
  </body>
</topic>
